<?php

/**
 * @package Kpl
 * @author k2
 * @version $Id: Abstract.php 196 2009-02-20 12:36:01Z Alexander.Anokhin $
 */

abstract class Report_Abstract {
	
	private $_filename;
	
	public function __construct($filename) {
		$this->_filename = $filename;
	}
	
	public function getFilename()
	{
		return $this->_filename;
	}
	
	abstract public function toXhtml();
	
	public function __toString() {
		return $this->getFilename();
	}
}